package com.xiaozhengkeji.springcloud.ezcloud.common.core.base.services.user;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.xiaozhengkeji.springcloud.ezcloud.common.core.base.mapper.user.SystemUserEntityMapper;
import com.xiaozhengkeji.springcloud.ezcloud.common.core.base.entitys.user.SystemUserEntity;import java.util.List;

@Service
public class SystemUserEntityService {

    @Resource
    private SystemUserEntityMapper systemUserEntityMapper;


    public int deleteByPrimaryKey(Integer uid) {
        return systemUserEntityMapper.deleteByPrimaryKey(uid);
    }


    public int insert(SystemUserEntity record) {
        return systemUserEntityMapper.insert(record);
    }


    public int insertSelective(SystemUserEntity record) {
        return systemUserEntityMapper.insertSelective(record);
    }


    public SystemUserEntity selectByPrimaryKey(Integer uid) {
        return systemUserEntityMapper.selectByPrimaryKey(uid);
    }


    public int updateByPrimaryKeySelective(SystemUserEntity record) {
        return systemUserEntityMapper.updateByPrimaryKeySelective(record);
    }


    public int updateByPrimaryKeyWithBLOBs(SystemUserEntity record) {
        return systemUserEntityMapper.updateByPrimaryKeyWithBLOBs(record);
    }


    public int updateByPrimaryKey(SystemUserEntity record) {
        return systemUserEntityMapper.updateByPrimaryKey(record);
    }

    public List<SystemUserEntity> queryByAll(SystemUserEntity systemUserEntity) {
        return systemUserEntityMapper.queryByAll(systemUserEntity);
    }

    public List<SystemUserEntity> findByMailboxLike(String likeMailbox) {
        return systemUserEntityMapper.findByMailboxLike(likeMailbox);
    }

    public List<SystemUserEntity> findByUsernameLike(String likeUsername) {
        return systemUserEntityMapper.findByUsernameLike(likeUsername);
    }

    public List<SystemUserEntity> queryByUsername(String username) {
        return systemUserEntityMapper.queryByUsername(username);
    }

    public List<SystemUserEntity> queryByMailbox(String mailbox) {
        return systemUserEntityMapper.queryByMailbox(mailbox);
    }

    public List<SystemUserEntity> queryByStatus(Integer status) {
        return systemUserEntityMapper.queryByStatus(status);
    }

    public List<SystemUserEntity> findByPhoneLike(String likePhone) {
        return systemUserEntityMapper.findByPhoneLike(likePhone);
    }
}

